Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Implement webRTC signalling #363

Merged
merged 9 commits into from
Mar 5, 2018

Conversation

shankarsengalani
Copy link
Contributor

Implemented webRTC secure signalling application on SAFE Network.

Implemented webRTC secure signalling application on SAFE Network.
@maidsafe-highfive
Copy link

r? @krishnaIndia

(maidsafe_highfive has picked a reviewer for you, use r? to override)

shankar2105 added 2 commits February 22, 2018 18:52
Removed credentials
Update readme.md for configuration of STUN and TURN server
CONFIG: {
SERVER: {
iceServers: [
{ url: 'stun:stun1.l.google.com:19302' }, // URL to STUN Server
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps replace the value with a placeholder similar to how it's done with the credential and username.

iceServers: [
{ url: 'stun:stun1.l.google.com:19302' }, // URL to STUN Server
{
url: 'turn:numb.viagenie.ca',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

ERR_CODE: {
NO_SUCH_ENTRY: -106,
},
CRYPTO_KEYS: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this can be removed.

iceServers: [
{ url: 'stun:stun1.l.google.com:19302' }, // URL to STUN Server
{
url: 'turn:numb.viagenie.ca',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put placeholders here rather than google stun server url's.

resolve(true);
} catch (err) {
// if (err.code !== CONST.ERR_CODE.NO_SUCH_ENTRY) {
if (err.message !== ERROR_MSG.ENTRY_NOT_FOUND) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming error codes are not available from the DOM API? If so, I would add a comment (TODO/FIXME) here to state that we should use error codes whenever they become available.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added some comments for things I'd change, but I thing the most important thing would be that this PR is breaking the CI, apparently just due to a missing test script?

shankar2105 added 5 commits March 1, 2018 14:28
Improved UI/UX features of the application.
Removed server details.
Localised texts.
disable logs for production
Improved label and message texts to make things consistent throughout the application.
Replace place holder instead of credentials.
Fixed travis issue, failing to find test script on root package.json
@bochaco bochaco merged commit 640c63d into maidsafe-archive:master Mar 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants